package com.dkd.sbtz.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;
import org.apache.ibatis.type.Alias;

/**
 * 设备类型对象 asset_type
 * 
 * @author xzj
 * @date 2025-09-02
 */
@Alias("Sbtype")
@Data
public class Sbtype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;
    /** 代号 */
    private String typeCode;

    /** 名称 */
    @Excel(name = "名称")
    private String displayName;

    /** 图标 */
    private String icon;

    /** 颜色 */
    private String color;

    /** 叶子节点 */
    @Excel(name = "叶子节点")
    private Integer isLeafDefault;

    /** 层级水平 */
    private Long levelHint;

    /** 0正常 1停用 */
    @Excel(name = "0正常 1停用")
    private Integer status;

    private Integer deviceCount;

    // 新增字段，用于前端展示
    private String parentNames;
    private String childNames;
}
